public marks

PUBLIC MARKS from "Xavier Lacot" with tag php

May 2008

sfFirePHP plugin

by 1 other
FirePHP enables you to print to your Firebug Console using a simple PHP function call. What makes FirePHP different? All data is sent via a set of X-FirePHP-Data response headers. This means that the debugging data will not interfere with the content on your page. Thus FirePHP is ideally suited for AJAX development.

Reuse Excel business logic with PHPExcel

by 2 others
Embedding business logic in Excel and re-using it in PHP is not that hard. The PHPExcel library helps you simplify development: your application logic and business logic is separated. Business logic can be maintained by a business expert or key user in Excel. As an application developer, you can easily pass data in the sheet and make use of PHPExcel's calculation engine.

March 2008

Medieval Programming » Propel and PHP Garbage collector

I typically disable logging for batch scripts in symfony, which significantly improves memory leak issues. sfConfig::set(’sf_logging_enabled’, false);

February 2008

PHP Simple HTML DOM Parser

by 10 others, 3 comments
A simple PHP HTML DOM parser written in PHP5+. I wrote it is because using PHP DOM XML library to parse HTML is really a pain. The origional idea is from Jose Solorzano's HTML Parser for PHP 4.

October 2007

Charts And Graphs: Modern Solutions | Developer's Toolbox | Smashing Magazine

by 4 others
Server-based solutions, implemented with Flash, JavaScript or pure CSS, offer a more flexible alternative. In fact, since Flash offers significant advantages over static data presentation with CSS and JavaScript, most solutions use it for dynamic data visualization. The data itself is often stored in XML-files which are loaded and updated via PHP or ASP. The price range varies enormously — depending on the flexibility and level of customization you’d like to have. However, if you don’t want to pay, you don’t have to — there are powerful free solutions as well.

Medieval Programming » Blog Archive » Better Performance patch for Symfony 1.0.x and Propel 1.2

I found the sfBuilders that are responsible for stripping the comments from the generated propel classes and also saw that there is a addIncludes parameter in propel.ini. Lets reuse that and modify the Builders to strip the inline includes and requires. I admit this is a tiny step, but some propel users are desperately searching for performance tweaks (as I am as well) so I hope this could be of use. I send this patch for inclusion in symfony 1.1.

Junction PHP

by 2 others
Junction is the glue between your application and its database. Easy to use and extensible, Junction allows developers to focus on building applications instead of worrying about state persistence.

September 2007

sfPropelZSLSearchPlugin: Die Integration von Lucene in Symfony - Christoph Hautzinger's Blog

Letzte Woche fand sich im Symfony Blog (A week of symfony #34 (20->26 August 2007)) die Ankündigung eines meiner Meinung nach sehr coolen Plugins - dem sfPropelZSLSearchPlugin: Es integriert die PHP Portierung von Apaches Lucene aus dem Zend Framework in Symfony.

August 2007

PHP: Phar archive stream and classes - Manual

The phar extension provides the phar stream wrapper and the Phar class for manipulating self-contained PHP Archive (phar) files. The Phar class can be used to create and to extract contents of phar files as well as iterating over their contents. PHP Archive files (Phars) are special collections of files that can be transparently run right out of the file, similar to Java's jar archive files.

Late Static Bindings Explained

Late Static Binding (LSB, yes, not LSD) is an OO feature that is meant to be implemented in PHP 6, and maybe even backported to PHP 5. This article will describe what LSB is, what problems it's supposed to solve and how.

Database replication lag | Dries Buytaert

Consider the following pseudo-code: $nid = node_save($data); $node = node_load($nid); Because node_save() executes a mutator query (an INSERT or UPDATE statement) is has to be executed on the master, so the master can propagate the changes to the slaves. Because node_load() uses a read-only query, it can go to the master or any of the available slaves. Because of the lack of synchronization between master and slaves, there is one obvious caveat: when we execute node_load() the slaves might not have been updated.

PHPLint

PHPLint is a validator and documentator for PHP 4 and PHP 5 programs.

Come realizzare un clone di Youtube in PHP » Paolo Mainardi

How to build a youtube like in PHP using ffmpeg and flvtool2.

Haml parser reference

by 3 others
Haml is based on one primary principal. Markup should be beautiful.

Using Flex, PHP, and JSON to Modify a MySQL Database

This tutorial should show a decent way to send data in a database to and from flex to php using json.

July 2007

SourceForge.net: uml2symfony

by 1 other
The current state of the library can create a symfony yml file from a argoUML Xmi/uml file. It is also meant to automate symfony module and CRUD generation.

Xdebug 2 released - Derick Rethans

by 1 other
After almost four years of work, Xdebug 2 is finally ready. With improved functionality and many new features it is ready to totally change the way you develop in PHP.... Nothing less ? :)

June 2007

sfCSRFPlugin - symfony

The sfCSRFPlugin plugin provides protection against Cross Site Request Forgeries.

sfBBPlugin - symfony

by 1 other
This plugin allows you to embed a forum within your symfony application

April 2007

Premiers pas avec le Zend Framework

by 1 other
Ce cours est une introduction très sommaire au Zend Framework, dans le but d'écrire une application MVC très simple utilisant une base de données.

phpcheckstyle

Spike PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions. The tools checks the input PHP source code and reports any deviations from the coding convention.

Xdebug Helper :: Firefox Add-ons

Tool to start/stop debug with PHP's Xdebug extension.

February 2007

CodePlex - PHPExcel

by 1 other, 1 comment
Project providing classes for the PHP programming language, to allow to write to Excel 2007 files.

start [phpnamespaces]

This wiki is dedicated to Namespace support in PHP.